package hanlen.mq.starter.bean;

import java.io.Serializable;
import java.util.Map;
import lombok.Builder;
import lombok.Getter;

/**
 * archives-service
 *
 * @author MrYe
 * @date 2021-10-23 15:35
 */
@Builder
public class MessageWrap<T> implements Serializable {

    @Getter
    private String messageId;
    @Getter
    private Map<String, String> header;
    @Getter
    private T body;

}
